<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>【众筹平台排名】最新影视众筹，股权众筹，店铺众筹平台排名_影视众筹，股权众筹，店铺众筹平台成交排名_影视众筹，股权众筹，店铺众筹平台分红排名-众秀众筹</title>
	<meta name="Keywords" content="影视众筹平台排名，股权众筹平台排名，众筹排名，店铺众筹排名，影视众筹排名，股权众筹排名，店铺众筹排名，影视众筹分红，股权众筹退出，店铺众筹分红，店铺众筹退出" />
	<meta name="Description" content="众秀众筹众筹数据栏目提供影视众筹平台，股权众筹平台，店铺众筹平台分红，退出的排名、最新众筹平台成交排名,影视众筹，股权众筹，店铺众筹项目成交数据。了解更多众筹数据排名就到众秀众筹众筹平台排名众筹数据栏目析。" />
	<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
	<meta name="renderer" content="webkit"/>
	<link rel="stylesheet" href="<%=path%>/css/bootstrap/3.3.5/css/bootstrap.min.css" />
	<link rel="stylesheet" href="<%=path%>/css/cz.css" />

	<script src="<%=path%>/js/jquery-1.11.0.min.js"></script>
	<script src="<%=path%>/js/plugins/layer/layer.js"></script>

	<script src="<%=path%>/js/slider.js"></script>
	<script src="<%=path%>/js/common.js"></script>
<body class="gray-bg">
<jsp:include page="/views/commons/header.jsp"></jsp:include>
<div class="container page-single data-page">
		<div class="row">
			<div class="col-md-12">
				<ul role="tablist" class="nav nav-tabs" id="myTabs" style="margin-bottom:-2px;">
					<li class="active">
						<a  href="#home">平台交易</a>
					</li>					
					<li >
						<a href="#profile1">股权收益榜</a>
					</li>
					<li >
						<a href="#profile2">实体店铺收益榜单</a>
					</li>
					<li >
						<a  href="#profile3">影视众筹收益榜</a>
					</li>
					
					<div class="pull-right" id="buttion_info_div">
						<button id="publish_data_button" class="btn btn-warning publish_data">提交分红数据</button>
						<a id="platform_data_a" class='btn btn-warning' href='<%=path%>/views/account/account_center.jsp?index=3'>“账户中心-我的平台数据”中提交平台交易</a>
					</div>
					<input type="hidden" name="platformType" id="platform_type" value="1">
				</ul>
				<div class="panel panel-default">
					<div class="panel-body">
						<div class="tab-content c_666" id="data_list_view">
							<input type="hidden" name="orderField" id="order_field" value=""/>
							<input type="hidden" name="orderDirection" id="order_direction" value=""/>
						</div>
					</div>
				</div>
			</div>
			<div id="publish_data" class="col-md-12" style="display: none;">

				<div class="wx-img text-center">
					<img src="<%=path%>/images/u50.jpg" width="90%" alt=""></div>
				<div class="text-center">请扫描二维码联系</div>

			</div>
		</div>
	</div>
<jsp:include page="/views/commons/footer.jsp"></jsp:include>
</body>
<script type="text/javascript">
$(document).ready(function(){
	$("#publish_data_button").hide();
	$("#platform_data_a").show();
	queryPlatformDataList(1);
});

$('#myTabs li').click(function () {
	$(this).addClass('active').siblings().removeClass('active');
	
	var dataType=$(this).index();
	
	$("#platform_type").val(dataType);
	
	$("#order_field").val("");
	
	$("#order_direction").val("");
	if(dataType==0){
		$("#publish_data_button").hide();
		$("#platform_data_a").show();
		queryPlatformDataList(1);
	}else{
		$("#publish_data_button").show();
		$("#platform_data_a").hide();
		queryDataList(1);
	}
	
})

$(".publish_data").click(function(event) {
	layer.open({
	  type: 1,
	  shade: .5,
	  title: '提交分红数据', //不显示标题
	  area: ['300px','350px'],
	  content: $('#publish_data'), //捕获的元素
	
	});
});

function queryDataList(pageNo){	
	
	var platformType=$("#platform_type").val();
	
	var orderField=$("#order_field").val();
	
	var orderDirection=$("#order_direction").val();
	
	$.ajax({
		url : path + "/uncheck/data/list",
		type : "get",
		dataType : "html",
		contentType: "application/x-www-form-urlencoded; charset=utf-8",
		data :{
			platformType:platformType,
			pageNo:pageNo,
			orderField:orderField,
			orderDirection:orderDirection
		},
		success : function(data)
		{
			$("#data_list_view").html(data);
		},error:function(){
			layer.msg("服务器网络繁忙",{icon: 2});
		}
	});
}

function queryPlatformDataList(pageNo){	
	
	var orderField=$("#order_field").val();
	
	var orderDirection=$("#order_direction").val();
	
	$.ajax({
		url : path + "/uncheck/dataPlatform/list",
		type : "get",
		dataType : "html",
		contentType: "application/x-www-form-urlencoded; charset=utf-8",
		data :{
			pageNo:pageNo,
			orderField:orderField,
			orderDirection:orderDirection
		},
		success : function(data)
		{
			$("#data_list_view").html(data);
		},error:function(){
			layer.msg("服务器网络繁忙",{icon: 2});
		}
	});
}

</script>
</html>